<template>
  <div>
    <div v-text="name"></div>
    <div v-html="name"></div>
    <div>无敌的阿木</div>
    <div>wudideam</div>
    <div>xxxxxxxx</div>
    <div>vvvvvvvv</div>
    <div>congmingdexuejie</div>
    <div>nanndcsndcsn</div>
    <div>llllll</div>
    <div>22222222</div>
    <div>woshihaoren</div>
    <img :src="imgUrl" alt="" width="200px" height="150px">
    <div>傻逼二木\</div>
    <div>二木，你开心吗？</div>
    <div>赵泽昱太jian</div>
    <div>赵泽昱，你开心吗？</div>
    <div>二木，为什么？</div>
    <div>这是为什么？</div>
    <div>开心开心极了</div>
    
    <!-- <button @click="login(123)">点击</button> -->
    <div v-show="nameShow">yzl</div>
    <div v-if="status ==1">yzl</div>
    <div v-else-if="status==2">....</div>
    <div v-else>111</div>

    <div v-for="(item,i) in arr" :key="i">
      <img :src="item.img" alt="">
      <div>{{ item.title }}</div>
      <div>{{ item.price }}</div>
      <div>{{ item.content }}</div>
    </div>
    用户名：<input type="text" v-model="value.username">
    密码：<input type="password" v-model="value.password">
    <button @click="login()">点击</button>
    <ul>
      <li v-for="(item,i) in arr1" :key="i">{{ item }}</li>
    </ul>
  </div>
</template>

<script>
export default {
  data() {
    return {
      name:"<h1>yzl</h1>",
       imgUrl:require("../assets/logo.png"),
      nameShow:true,
      status:0,
      arr:[
        {
          img:"https://cdn.cnbj1.fds.api.mi-img.com/mi-mall/adde6bae41441887017824f46cf31602.png?thumb=1&w=225&h=225&f=webp&q=90",
          title:"Redmi Turbo 3",
          price:"1999",
          content:" 性能旋风，席卷而来"
        },
        {
          img:"https://cdn.cnbj1.fds.api.mi-img.com/mi-mall/adde6bae41441887017824f46cf31602.png?thumb=1&w=225&h=225&f=webp&q=90",
          title:"Redmi Turbo 3",
          price:"2999",
          content:" 性能旋风，席卷而来"
        },
        {
          img:"https://cdn.cnbj1.fds.api.mi-img.com/mi-mall/adde6bae41441887017824f46cf31602.png?thumb=1&w=225&h=225&f=webp&q=90",
          title:"Redmi Turbo 3",
          price:"3999",
          content:" 性能旋风，席卷而来"
        },
        {
          img:"https://cdn.cnbj1.fds.api.mi-img.com/mi-mall/adde6bae41441887017824f46cf31602.png?thumb=1&w=225&h=225&f=webp&q=90",
          title:"Redmi Turbo 3",
          price:"4999",
          content:" 性能旋风，席卷而来"
        },
      ],
      value:{
      },
      arr1:[]
    }
  },
  methods: {
    login(){
      this.arr.push(this.value);
    },
    res(){

    },
    thress(){

    }
  },
}
</script>

<style>

</style>